package cn.edu.hgu.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * GovernmentInfo entity. @author MyEclipse Persistence Tools
 */

public class GovernmentInfo implements java.io.Serializable {
	// Fields
	private Integer id;
	private String govName;     //采购单位名称
	private Integer areaId;     //所在地区ID
	private String address;     //单位地址
	private String postalCode;  //邮政编码
	private String principle;   //负责人
	private String contactPhone;//联系电话
	private String fax;         //传真号码
	private String introduce;   //简介
	private Date regTime;       //注册时间
	private Integer lockStatus; //状态,0:未审核,1:通过审核,3:资料不完善,4:未通过审核,5:锁定
	private Set<GovAccountInfo> govAccountInfo = new HashSet<GovAccountInfo>();
	private Set<GovRoleInfo> govRoleinfo = new HashSet<GovRoleInfo>();
	private Set<GovernmentPic> governmentPic = new HashSet<GovernmentPic>();
	// Constructors

	/** default constructor */
	public GovernmentInfo() {
	}

	/** full constructor */
	public GovernmentInfo(String govName, Integer areaId, String address,
			String postalCode, String principle, String contactPhone,
			String fax, String introduce, Date regTime, Integer lockStatus) {
		this.govName = govName;
		this.areaId = areaId;
		this.address = address;
		this.postalCode = postalCode;
		this.principle = principle;
		this.contactPhone = contactPhone;
		this.fax = fax;
		this.introduce = introduce;
		this.regTime = regTime;
		this.lockStatus = lockStatus;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGovName() {
		return this.govName;
	}

	public void setGovName(String govName) {
		this.govName = govName;
	}

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostalCode() {
		return this.postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getPrinciple() {
		return this.principle;
	}

	public void setPrinciple(String principle) {
		this.principle = principle;
	}

	public String getContactPhone() {
		return this.contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getIntroduce() {
		return this.introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Date getRegTime() {
		return this.regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Integer getLockStatus() {
		return this.lockStatus;
	}

	public void setLockStatus(Integer lockStatus) {
		this.lockStatus = lockStatus;
	}

	public Set<GovAccountInfo> getGovAccountInfo() {
		return govAccountInfo;
	}

	public void setGovAccountInfo(Set<GovAccountInfo> govAccountInfo) {
		this.govAccountInfo = govAccountInfo;
	}

	public Set<GovRoleInfo> getGovRoleinfo() {
		return govRoleinfo;
	}

	public void setGovRoleinfo(Set<GovRoleInfo> govRoleinfo) {
		this.govRoleinfo = govRoleinfo;
	}

	public Set<GovernmentPic> getGovernmentPic() {
		return governmentPic;
	}

	public void setGovernmentPic(Set<GovernmentPic> governmentPic) {
		this.governmentPic = governmentPic;
	}
	
	
	
}